package com.capgemini.poste.dao;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the patch database table.
 * 
 */
@Entity
@Table(name="patch")
public class Patch implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Temporal(TemporalType.DATE)
	private Date dt;

	@Column(name="poste_cd")
	private String posteCd;

	@Column(name="securite_nb")
	private int securiteNb;

	public Patch() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getDt() {
		return this.dt;
	}

	public void setDt(Date dt) {
		this.dt = dt;
	}

	public String getPosteCd() {
		return this.posteCd;
	}

	public void setPosteCd(String posteCd) {
		this.posteCd = posteCd;
	}

	public int getSecuriteNb() {
		return this.securiteNb;
	}

	public void setSecuriteNb(int securiteNb) {
		this.securiteNb = securiteNb;
	}

}